﻿using System;
using System.Collections.Generic;

namespace Donal.Xms.Model
{
    /// <summary>
    /// 订单发票表
    /// </summary>
    [Serializable]
    public partial class orders_invoice
    {
        public orders_invoice()
        { }

        #region Model

        /// <summary>
        ///  自增ID
        /// </summary>
        public int id { set; get; } = 0;
        /// <summary>
        ///  订单ID
        /// </summary>
        public int order_id { set; get; } = 0;

        /// <summary>
        ///  会员发票抬头
        /// </summary>
        public string invoice_title { set; get; } = string.Empty;
        /// <summary>
        ///  发票号
        /// </summary>
        public string invoice_no { set; get; } = string.Empty;
        /// <summary>
        ///  税号
        /// </summary>
        public string invoice_tax_no { set; get; } = string.Empty;
        /// <summary>
        ///  发票税点
        /// </summary>
        public int invoice_tax { set; get; } = 0;
        /// <summary>
        ///  开票物流
        /// </summary>
        public string invoice_express { set; get; } = string.Empty;
        /// <summary>
        ///  开票快递号
        /// </summary>
        public string invoice_express_no { set; get; } = string.Empty;
        /// <summary>
        ///  开票金额
        /// </summary>
        public decimal invoice_amout { set; get; } = 0;
        /// <summary>
        ///  收票信息
        /// </summary>
        public string invoice_address { set; get; } = string.Empty;
        /// <summary>
        ///  开票状态 0未开票  1已开票
        /// </summary>
        public int invoice_status { set; get; } = 0;
        /// <summary>
        ///  发票类型 1不开  2普通发票  3专用发票
        /// </summary>
        public int invoice_type { set; get; } = 0;
        /// <summary>
        ///  操作人
        /// </summary>
        public string express_author { set; get; } = string.Empty;
        /// <summary>
        ///  开票时间
        /// </summary>
        public DateTime? invoice_time { set; get; } = null;

        #endregion
    }
}